import Vue from 'vue';
import Vuex from 'vuex';
import data from './modules/data';
import test from './modules/test';

Vue.use(Vuex);

export function createStore() {
    return new Vuex.Store({
        modules: {
            data, test
        }
    });
}